
import java.awt.*;
import java.applet.*;

public class DrawDemo extends Applet{
	int px1[]= {170,210,210,170,130,130,170};
	int py1[]= {5,20,50,65,50,20,5};
	int px2[]= {20,40,60,80,85,110,115};
	int py2[]= {20,15,20,30,50,50,30};
	public void paint(Graphics g) {
		g.drawPolygon(px1,py1,6);
		g.drawPolyline(px2,py2, 7);
	}

	

	}


